Optimal. Leaf size=71 \[ -\frac {a^3 \cos (e+f x) \, _2F_1\left (-\frac {3}{2},\frac {1}{2} (-3+m);\frac {1}{2} (-1+m);\sin ^2(e+f x)\right ) (a \sin (e+f x))^{-3+m}}{f (3-m) \sqrt {\cos ^2(e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 71, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {2680, 2657}
\begin {gather*} -\frac {a^3 \cos (e+f x) (a \sin (e+f x))^{m-3} \, _2F_1\left (-\frac {3}{2},\frac {m-3}{2};\frac {m-1}{2};\sin ^2(e+f x)\right )}{f (3-m) \sqrt {\cos ^2(e+f x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2657
Rule 2680
Rubi steps
\begin {align*} \int \cot ^4(e+f x) (a \sin (e+f x))^m \, dx &=a^4 \int \cos ^4(e+f x) (a \sin (e+f x))^{-4+m} \, dx\\ &=-\frac {a^3 \cos (e+f x) \, _2F_1\left (-\frac {3}{2},\frac {1}{2} (-3+m);\frac {1}{2} (-1+m);\sin ^2(e+f x)\right ) (a \sin (e+f x))^{-3+m}}{f (3-m) \sqrt {\cos ^2(e+f x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 71, normalized size = 1.00 \begin {gather*} \frac {\sqrt {\cos ^2(e+f x)} \csc ^3(e+f x) \, _2F_1\left (-\frac {3}{2},\frac {1}{2} (-3+m);\frac {1}{2} (-1+m);\sin ^2(e+f x)\right ) \sec (e+f x) (a \sin (e+f x))^m}{f (-3+m)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.10, size = 0, normalized size = 0.00 \[\int \left (\cot ^{4}\left (f x +e \right )\right ) \left (a \sin \left (f x +e \right )\right )^{m}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a \sin {\left (e + f x \right )}\right )^{m} \cot ^{4}{\left (e + f x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\mathrm {cot}\left (e+f\,x\right )}^4\,{\left (a\,\sin \left (e+f\,x\right )\right )}^m \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________